home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 016a / fansi.zip / VIEW.DOC < prev    next >
Text File  |  1986-02-11  |  2KB  |  68 lines

  1. view    - view a text file
  2.  
  3. SYNOPSIS
  4.     view filename
  5.  
  6. DESCRIPTION
  7.     A text editor without any editing functions.  Very quick; useful
  8.     for looking at text files, especially C programs.
  9.  
  10. NOTE:    Requires NANSI.SYS, or any terminal driver supporting the insert and
  11.     delete line functions.
  12.  
  13. COMMANDS
  14.     q    quit, return to DOS
  15.  
  16.     Arrows        move cursor, scrolling horizontally or vertically
  17.             as required.
  18.     page up, down    move screen up/down 20 lines in file.
  19.     ^, $        Move cursor to first, last char on line.
  20.     Home, end    move cursor to start, end of line.
  21.     Ctrl-home, 
  22.     ctrl-end    move cursor to start, end of file.    
  23.  
  24.     %    If cursor is on a bracket or parenthesis, moves cursor
  25.         to matching bracket or parenthesis; useful for finding
  26.         your way around in a C program.  If no match, rings bell.
  27.  
  28.     /    search forwards; prompts for search string at top of screen.
  29.         Newlines (^J) may be included in search string.
  30.         Hit <enter> when done entering search string.
  31.         Case sensitive.  Positions cursor at start of match.
  32.         Search wraps around end of file if needed; bell is sounded if
  33.         no match.
  34.  
  35.     ?    search backwards; same as above.
  36.  
  37.     n    Repeat last search.
  38.     N    Repeat last search, but reverse direction.     
  39.  
  40.     f(char)    Forward in line to next occurrence of char; beeps if not found.
  41.     b(char)    Backward in line to next occurrence of char.
  42.  
  43.     Any command may be prefixed with a repeat count just by typing
  44.     a number (<32000); no conformation is given while typing the number.
  45.  
  46.  
  47.     Written mostly to demonstrate how blindingly fast NANSI.SYS is.
  48.     The console is set to raw mode, and all screen output goes through
  49.     DOS.  If you thought ANSI.SYS was sluggish, you were right- NANSI.SYS
  50.     (used in RAW mode) is about two orders of magnitude faster. 
  51.  
  52. BUGS
  53.     If no filename is given on the command line, tries to edit a file
  54.     named "=", and gives the error message "=: no such file."
  55.  
  56.     The start- and end-of-line functions screw up on the last line
  57.     of the file.  Typing ctrl-end restores normality.
  58.  
  59.     Since view finds out the screen size by moving the cursor to (132, 50),
  60.     and then inquiring the cursor position, it depends on the clipping
  61.     behavior of the console driver.
  62.  
  63.     Problems should be reported to Dan Kegel, 1-60.
  64.  
  65.     This version generated in October, 1985.
  66.  
  67.  
  68.